﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BaseContent.ascx.cs" Inherits="Job.Web.userControls.Admin.BaseContent" %>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr> 
				  <td align="center" valign="top">				  
				  
				    <table width="99%" border="0" cellpadding="0" cellspacing="0" class="table_font">
		    
                      <tr>
                        <td class="table_font_td" width="15%">
                            <asp:Label ID="lblTitle" runat="server" Text="内容标题"></asp:Label>
                          </td>
                        <td class="table_font_td" align="left">
                            <asp:TextBox ID="txtTitle" runat="server" Width="400px" MaxLength="100" 
                                ></asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                ControlToValidate="txtTitle" ErrorMessage="请输入标题"></asp:RequiredFieldValidator>
                        </td>
                      </tr>
                      <tr runat="server" id="TRDescription">
                        <td class="table_font_td">
                            <asp:Label ID="lbldescription" runat="server" Text="内容描述"></asp:Label>
                          </td>
                        <td class="table_font_td" align="left">
                            <asp:TextBox ID="txtDescription" runat="server" Width="400px" MaxLength="200" 
                                Height="55px" Rows="3" TextMode="MultiLine"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="rfvDesc" runat="server" 
                                ControlToValidate="txtDescription" ErrorMessage="请输入描述"></asp:RequiredFieldValidator>
                        </td>
                      </tr>
                      <tr>
                        <td class="table_font_td">
                            <asp:Label ID="lblStatus" runat="server" Text="是否可用"></asp:Label>
                          </td>
                        <td class="table_font_td" align="left">
                            <asp:CheckBox ID="chkStatusId" runat="server" Checked="True" Text="是否可用" />
                        </td>
                      </tr>
                      <tr>
                        <td class="table_font_td">
                            <asp:Label ID="lblContent" runat="server" Text="内容"></asp:Label>
                          </td>
                        <td class="table_font_td" align="left" valign="top">
                            <asp:TextBox ID="txtContent" runat="server" style="display:none;"></asp:TextBox>
                                <IFRAME ID="txtContentHtml" src="../../eWebEditor/ewebeditor.htm?id=txtContent&style=mini" 
                                    frameborder="0" scrolling="no" height="450" style="width: 600px"></IFRAME>

                        </td>
                      </tr>
                        <tr>
                        <td class="table_font_td"><asp:Label ID="lblorderNo" runat="server" Text="序号"></asp:Label></td>
                        <td class="table_font_td" align="left">
                            <input onkeyup="this.value=this.value.replace(/\D/g,'')" 
                                onafterpaste="this.value=this.value.replace(/\D/g,'')" style="width: 78px" 
                                id="txtOrderNo" runat="server" value="0">&nbsp;(1-10内的一个数字，数字越大列表中越靠前显示)
                        </td>
                      </tr>
                      <tr>
                        <td class="table_font_td"><asp:Label ID="lblCount" runat="server" Text="点击次数"></asp:Label></td>
                        <td class="table_font_td" align="left">
                            <asp:TextBox ID="txtCount" Enabled="false" runat="server" Width="100px" MaxLength="100"></asp:TextBox>
                        </td>
                      </tr>
                      <tr>
                        <td class="table_font_td"><asp:Label ID="lblLastUpdate" runat="server" Text="最后更新"></asp:Label></td>
                        <td class="table_font_td" align="left">
                            <asp:Label ID="lbllastUpdatetxt" runat="server"></asp:Label>&nbsp;
                        </td>
                      </tr>
                     
                      <tr>
                        <td class="table_font_td">&nbsp;</td>
                        <td class="table_font_td">
                            <asp:Button ID="btSave" runat="server" Text=" 保 存 " onclick="btSave_Click"  CssClass="btn_2k3"/>&nbsp;&nbsp;
                            <asp:Button ID="btReturn" runat="server" Text=" 返 回 "  CssClass="btn_2k3"
                                onclick="btReturn_Click" CausesValidation="False" />
                            <asp:HiddenField ID="hidContentId" runat="server" />
                        </td>
                      </tr>                                                                                                                                                                                 
                    </table>											  
                  </td>
                 </tr>
             </table>
             
             <br />										  
